﻿<Window x:Class="Lights.Page.frmImporter"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:Lights.Controls"
        Loaded="Window_Loaded"
        Closing="Window_Closing"
        Title="frmImporter" Height="480" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Name="infoPanel" Orientation="Horizontal" Grid.Row="1" Grid.ColumnSpan="2" Visibility="Collapsed">
            <TextBlock Text="Analisi della cartella in corso: " VerticalAlignment="Center"/>
            <ProgressBar Name="prgBar" Width="120" Height="20" Margin="3" />
        </StackPanel>
        <GroupBox Header="Importa da:" >
            <TreeView Name="tvFolders"/>
        </GroupBox>
        <local:CollectionViewer x:Name="viewer" Grid.Column="1" />
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Right">
            <Button Name="cmdCancel" Content="Annulla" Margin="3" Width="120" Click="cmdCancel_Click"/>
            <Button Name="cmdImport" Content="Importa" Margin="3" Width="120" Click="cmdImport_Click"/>
        </StackPanel>
    </Grid>
</Window>
